leetcode 767 problem solution in python

welcome to shbcf.ru